//
//  ViewController.m
//  Image
//
//  Created by zxs on 2017/5/27.
//  Copyright © 2017年 zxs. All rights reserved.
//

#import "ViewController.h"
#import "ProcessView.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet ProcessView *processView;
@property (weak, nonatomic) IBOutlet UISlider *slider;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    [self.processView updateProcess:self.slider.value];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)slideChanged:(id)sender {
    [self.processView updateProcess:self.slider.value];
}

@end
